using System;
using System.Collections.Generic;
using System.Text;
namespace Decision.BusinessLayer
{
    [Serializable]
	public class ReportDecision1_2
	{

		#region InnerClass
		public enum ReportDecision1_2Fields
		{
			RowAll,
			Row_No,
			VOTE_CASE_ID,
			VOTE_CASE_NAME,
			COUNT_COURT_1,
			COUNT_COURT_2,
			COUNT_COURT_3,
			COUNT_COURT_4,
			COUNT_COURT_5,
			COUNT_COURT_6,
			COUNT_COURT_7
		}
		#endregion

		#region Data Members

			int? _rowAll;
			long? _row_No;
			int _vOTE_CASE_ID;
			string _vOTE_CASE_NAME;
			int? _cOUNT_COURT_1;
			int? _cOUNT_COURT_2;
			int? _cOUNT_COURT_3;
			int? _cOUNT_COURT_4;
			int? _cOUNT_COURT_5;
			int? _cOUNT_COURT_6;
			int? _cOUNT_COURT_7;

		#endregion

		#region Properties

		public int?  RowAll
		{
			 get { return _rowAll; }
			 set
			 {
				 if (_rowAll != value)
				 {
					_rowAll = value;
					 PropertyHasChanged("RowAll");
				 }
			 }
		}

		public long?  Row_No
		{
			 get { return _row_No; }
			 set
			 {
				 if (_row_No != value)
				 {
					_row_No = value;
					 PropertyHasChanged("Row_No");
				 }
			 }
		}

		public int  VOTE_CASE_ID
		{
			 get { return _vOTE_CASE_ID; }
			 set
			 {
				 if (_vOTE_CASE_ID != value)
				 {
					_vOTE_CASE_ID = value;
					 PropertyHasChanged("VOTE_CASE_ID");
				 }
			 }
		}

		public string  VOTE_CASE_NAME
		{
			 get { return _vOTE_CASE_NAME; }
			 set
			 {
				 if (_vOTE_CASE_NAME != value)
				 {
					_vOTE_CASE_NAME = value;
					 PropertyHasChanged("VOTE_CASE_NAME");
				 }
			 }
		}

		public int?  COUNT_COURT_1
		{
			 get { return _cOUNT_COURT_1; }
			 set
			 {
				 if (_cOUNT_COURT_1 != value)
				 {
					_cOUNT_COURT_1 = value;
					 PropertyHasChanged("COUNT_COURT_1");
				 }
			 }
		}

		public int?  COUNT_COURT_2
		{
			 get { return _cOUNT_COURT_2; }
			 set
			 {
				 if (_cOUNT_COURT_2 != value)
				 {
					_cOUNT_COURT_2 = value;
					 PropertyHasChanged("COUNT_COURT_2");
				 }
			 }
		}

		public int?  COUNT_COURT_3
		{
			 get { return _cOUNT_COURT_3; }
			 set
			 {
				 if (_cOUNT_COURT_3 != value)
				 {
					_cOUNT_COURT_3 = value;
					 PropertyHasChanged("COUNT_COURT_3");
				 }
			 }
		}

		public int?  COUNT_COURT_4
		{
			 get { return _cOUNT_COURT_4; }
			 set
			 {
				 if (_cOUNT_COURT_4 != value)
				 {
					_cOUNT_COURT_4 = value;
					 PropertyHasChanged("COUNT_COURT_4");
				 }
			 }
		}

		public int?  COUNT_COURT_5
		{
			 get { return _cOUNT_COURT_5; }
			 set
			 {
				 if (_cOUNT_COURT_5 != value)
				 {
					_cOUNT_COURT_5 = value;
					 PropertyHasChanged("COUNT_COURT_5");
				 }
			 }
		}

		public int?  COUNT_COURT_6
		{
			 get { return _cOUNT_COURT_6; }
			 set
			 {
				 if (_cOUNT_COURT_6 != value)
				 {
					_cOUNT_COURT_6 = value;
					 PropertyHasChanged("COUNT_COURT_6");
				 }
			 }
		}

		public int?  COUNT_COURT_7
		{
			 get { return _cOUNT_COURT_7; }
			 set
			 {
				 if (_cOUNT_COURT_7 != value)
				 {
					_cOUNT_COURT_7 = value;
					 PropertyHasChanged("COUNT_COURT_7");
				 }
			 }
		}


		#endregion

		#region not support PropertyChangeEvent

		protected virtual void PropertyHasChanged(string propertyName)
		{
			return;
		}

		#endregion
/********** not support Validation
		#region Validation

		internal override void AddValidationRules()
		{
			ValidationRules.AddRules(new Validation.ValidateRuleNotNull("VOTE_CASE_ID", "VOTE_CASE_ID"));
			ValidationRules.AddRules(new Validation.ValidateRuleStringMaxLength("VOTE_CASE_NAME", "VOTE_CASE_NAME",255));
		}

		#endregion
********/

	}
}
